package com.stylefeng.guns.modular.fileManage.service;

import com.stylefeng.guns.common.persistence.model.ZyPicture;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.IOException;
import java.text.ParseException;
import java.util.List;

/**
 * <p>
 *  上传图片类
 * </p>
 *
 * @author ghp
 * @since 2017-12-28
 */
public interface UploadService {

    List<ZyPicture> upload(MultipartFile[] files,Integer tedId) throws IOException,ParseException;

    void delete(Integer pictureId);
}
